body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsft Yahei",STXihei,hei;
    color: #000000;
    background-color: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    height: 2000px;
}
a {
text-decoration: none;
color: #222222;
}
div {
    box-sizing: border-box;
}
li {
    list-style: none;
}
* {
    margin: 0;
    padding: 0;
}
/* 搜索模块 */
.search-index {
    /* 固定定位跟父级没有关系，它以屏幕为准 */
    position: fixed;
    display: flex;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 44px;
    max-width: 540px;
    min-width: 320px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search-index .search {
    flex: 1;
    height: 26px;
    line-height: 23px;
    border: 1px solid #cccccc;
    font-size: 12px;
    color: #666666;
    margin: 7px 10px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.search-index .search::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px;
    margin: 0 5px;
    vertical-align: middle;
}
.search-index .user {
    width: 44px;
    height: 44px;
   font-size: 12px;
   color: #3eaae0;
    text-align: center;
    
}
.search-index .user::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    /* 把精灵图缩放 */
    background-size: 104px auto;
    margin: 3px auto -2px;
}
/* 焦点图模块 */
.focus img {
    width: 100%;
    margin-top: 44px;
}
/* 局部导航栏 */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
    
}
.local-nav li {
    
    padding-top: 8px;
    flex: 5;  
    text-align: center;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.local-nav a [class^=local_nav] {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px;
}
.local-nav a .local_nav_nav2 {
    background-position-y: -32px;
}
.local-nav a .local_nav_nav3 {
    background-position-y: -64px;
}
.local-nav a .local_nav_nav4 {
    background-position-y: -96px;
}
.local-nav a .local_nav_nav5 {
    background-position-y: -128px;
}
nav {
    margin: 0 4px 3px;
    border-radius: 8px;
    overflow: hidden;
}
nav .nav-common {
    display: flex;
    height: 88px;
    background-color: aquamarine;
}
nav .nav-common:nth-child(2) {
    margin: 3px 0;
}
nav .nav-common .nav-itenms {
    flex: 1;
    flex-direction: column;
    display: flex;
}
nav .nav-common .nav-itenms:nth-child(2)  {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}
nav .nav-common .nav-itenms a {
    flex: 1;
    font-size: 14px;
    text-align: center;
    line-height: 44px;
    color: #fff;
    /* 文字阴影 */
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
nav .nav-common .nav-itenms a:nth-child(1) {
    border-bottom: 1px solid #fff;  
}
nav .nav-common .nav-itenms:nth-child(1) a {
    border: 0;
    /* 靠底端对齐，水平居中 */
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
nav .nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
}
nav .nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left,#7181e0,#8773ad);
}
nav .nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left,#3aa54c,#59a36c);
}
/* 侧导航栏 */
.subnav-entry {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 4px;
    /* 换行 */
    flex-wrap: wrap;
    background-color: #fff;
    box-shadow: 0 1px 4px #ccc;
}
.subnav-entry li {
    /* flex的属性值可以用百分比，百分比是相对于父元素宽度来说的 */
    flex: 20%;
   
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subnav-entry li a .subnav-entry-icon {
    width: 28px;
    height: 28px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
  background-size: 28px auto;
  margin: 10px 0 4px;
}
.subnav-entry li:nth-child(2) a .subnav-entry-icon {
    background-position-y: -28px;
}
.subnav-entry li:nth-child(3) a .subnav-entry-icon {
    background-position-y: -56px;
}
.subnav-entry li:nth-child(4) a .subnav-entry-icon {
    background-position-y: -84px;
}
.subnav-entry li:nth-child(5) a .subnav-entry-icon {
    background-position-y: -112px;
}
.subnav-entry li:nth-child(6) a .subnav-entry-icon {
    background-position-y: -140px;
}
.subnav-entry li:nth-child(7) a .subnav-entry-icon {
    background-position-y: -168px;
}
.subnav-entry li:nth-child(8) a .subnav-entry-icon {
    background-position-y: -196px;
}
.subnav-entry li:nth-child(9) a .subnav-entry-icon {
    background-position-y: -224px;
}
.subnav-entry li:nth-child(10) a .subnav-entry-icon {
    background-position-y: -252px;
}
/* 销售模块 */
.sales-box {
    border-top: 1px solid #ccc;
    position: relative;
    margin: 4px;
    border: 1px solid #bbbbbb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.sales-box .sales-hd {
    height: 44px;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
.sales-box .sales-hd h2 {
    text-indent: -999px;
    overflow: hidden;
}
.sales-box .sales-hd h2::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 8px;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sales-box .sales-hd a {
    position: absolute;
    top: 10px;
    right: 3px;
    color: #ffffff;
    padding: 0 1.13rem 0 0.75rem;
    height: 20px;
    line-height: 17px;
    font-size: 12px;
    background: -webkit-linear-gradient(left,#ff4e63,#ff6cc9);
    border-radius: 15px;
}
.sales-box .sales-hd a::after {
    content: '';
    position: absolute;
    top: 5px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-left: 2px;
}
.sales-bd  li{
    display: flex;
}
.sales-bd  li a {
    flex: 1;
}
.sales-bd  li a img {
    width: 100%;
}